package com.ld.security.server.blog.modules.my.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.auth.common.sys.sql.SqlUser;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.server.blog.modules.my.constant.MyCollectionConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("my_collection")
@ApiModel("我的收藏")
@Data
public class MyCollectionEntity  extends SuperEntity implements SqlUser
{

  @ApiModelProperty("数据编号")
  @SqlKey(SqlCondition.eq)
    private String dataId;

  @ApiModelProperty("收藏类型")
  @SqlKey(SqlCondition.eq)
  private MyCollectionConstant.collType collType;

  @ApiModelProperty("用户编号")
  @SqlKey(SqlCondition.eq)
    private String crtUser;






  @ApiModelProperty("盒子编号")
  @SqlKey(SqlCondition.eq)
  private String boxId;



        }
